home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
pcbimp12.zip
/
PCBMPORT.DOC
< prev
next >
Wrap
Text File
|
1993-04-08
|
5KB
|
119 lines
PCBMPORT v1.2
FREEWARE (C) 1993 Vince Sorensen
All Rights Reserved
I needed a program to not only copy descriptions from captured
directory listings for files I downloaded, but also one to check
for FILE_ID.DIZ and use that instead if it was there. I wanted
current file sizes, and tomorrow's date. I didn't need the files
to be moved from directory to directory. I found programs that did
one or the other, but not both, so I wrote one.
What does this program do?
Checks a directory for files. For all files found, it checks
to see if they contain a FILE_ID.DIZ. If so, it adds the description
to a text file, in PCBoard format. If not, it checks a text file
(or text files) that contain PCBoard format descriptions (which
may have been captured from a download session, or are from a
CD-ROM/BBS file listing). If a description is found there, it
is added to the description text file, with an updated size field.
If not, a description of "No Description Found" is added to the
description text file, again in PCBoard format. All additions to
the description text file are dated with tomorrow's date.
Optionally, you can add the description that was found, plus
a small message to the archive.
Requirements:
If handling .ARJ files, you need ARJ.EXE. If handling .ZIP files,
you need PKUNZIP.EXE. If handling .LZH programs, you need LHA.EXE.
Command line options (DIFFERENT THAN VERSION 1.1!):
PCBMPORT INT=YES - run program interactively
PCBMPORT ? - show syntax
PCBMPORT - run program in batch mode; PCBMPORT.INI
contains the options
PCBMPORT.INI should contain the following lines:
D=Directory Directory to Search
I=Import_File File to search for descriptions for files without FILE_ID.DIZ
E=Export_File File to place found descriptions in (unless redirected)
S=Smart_On_Off Whether or not to redirect the files and descriptions according
to keywords found in the descriptions
R=Recheck_On_Off Whether or not to try to find descriptions for files that
already exist in the listing being exported to (default
export file only)
DIZ=Add_Diz Yes or no; Create FILE_ID.DIZ from description found in
text file, and add to archive?
MSG=Add_Msg.txt A text file to add to the archive (OPTIONAL)
SPEC=Add_line A line to add to the newly created FILE_ID.DIZ (gets added
as FILE_NFO.DIZ instead) (does not apply to files that
already contain a FILE_ID.DIZ) (OPTIONAL)
SKIPEXT=Yes_No Yes or no; when searching for descriptions, ignore if the
extensions don't match (In other words, if this is set to
Yes, the program being looked for is EGG.ZIP and the
description found is for EGG.ARJ, the description WILL be
used.) (OPTIONAL)
For example, your PCBMPORT.INI may look like this:
D=c:\pcb\upload
I=c:\text\capture.cap
E=c:\pcb\main\private.
S=ON
R=OFF
DIZ=NO
Memory Management Options:
This program comes with a built in memory manager. You can set or disable
options on it by setting the environment variable CLAVM before running the
program, or by adding a CLAVM= line to your PCBMPORT.INI.
SET CLAVM=OFF - turn off manager; use convential memory only
SET CLAVM=NOEMS - swap to disk only; do not use EMS/XMS
SET CLAVM=XMSxxxx - xxxx is the amount of extended memory to use in kilobytes
SET CLAVM=EMSxxxx - xxxx is the amount of expanded memory to use in kilobytes
SET CLAVM= - normal operation
If you are running under DesqView or some other multi-tasker, I recommend that
you use the SET CLAVM=NOEMS option.
NOTE:
THIS PROGRAM IS FREEWARE - NO FEE MAY BE CHARGED FOR IT. NO WARRANTY IS GIVEN
OR IMPLIED.
AUTHOR INFORMATION:
Vince Sorensen
6 Armstrong Bay
Regina, Sask. Canada
S4N 4G7
BBS 306-789-8682 or 306-789-8690
History - Version 1.2 April 7, 1993 Added INI file, options to add DIZ,
etc., and sped up description search process.
Version 1.1 March 18, 1993 Fixed only bug: did not search
correct directory for import text files if they
were not located in the same directory as the
files being described
Version 1.0 March 17, 1993 First Release